import React from "react";
import {Navigate} from "react-router-dom";
import Home from '../pages/Home'
import Portal from '../pages/Portal'
import Leader from "../pages/Portal/Leader";
import ImgTable from "../pages/Portal/ImgTable";
import Html from "../pages/Portal/Html";
import Honor from "../pages/Portal/Honor";
import ListTable from "../pages/Portal/ListTable";
import Project from "../pages/Portal/Project";
import Academic from "../pages/Portal/Academic";
import Details from "../pages/Portal/Details";
import ShowImg from "../pages/Portal/ShowImg";
import {
    InnovationTeam,
    TalentTeam, TalentTeamNew, TeamBuilder
} from "../pages/Portal/TalentTeam";
import GlobalSearch from "../pages/Portal/Search";
import ContactUsPage from "../pages/Portal/ContactUsPage";

export default [
    {
        path: "/home",
        element: <Home/>
    }, {
        path: "/portal",
        element: <Portal/>,
        children: [
            {
                path: "into",
                element: <Html/>,
            }, {
                path: "leader",
                element: <Leader/>
            }, {
                path: "org",
                element: <ShowImg/>
            }, {
                path: "function",
                element: <Html/>
            }, {
                path: "basic",
                element: <ListTable/>
            }, {
                path: "major",
                element: <ListTable/>
            },
            {
                path: "notice",
                element: <ListTable/>
            },
            {
                path: "newsNotice",
                element: <ListTable/>
            },
            {
                path: "infoNotice",
                element: <ListTable/>
            },

            {
                path: "infoNotice",
                element: <ListTable/>
            },
            {
                path: "specialTopicColumnNotice",
                element: <ListTable/>
            },
            {
                path: "honor",
                element: <Honor/>
            }, {
                path: "build",
                element: <ListTable/>
            }, {
                path: "online",
                element: <ListTable/>
            }, {
                path: "dynamic",
                element: <ListTable/>
            }, {
                path: "news",
                element: <ListTable/>
            }, {
                path: "party",
                element: <ListTable/>
            }, {
                path: "party",
                element: <ListTable/>
            }, {
                path: "planning",
                element: <ListTable/>
            }, {
                path: "strategy",
                element: <ListTable/>
            }, {
                path: "review",
                element: <ListTable/>
            }, {
                path: "industry",
                element: <ListTable/>
            }, {
                path: "services",
                element: <ListTable/>
            }, {
                path: "research",
                element: <ListTable/>
            }, {
                path: "team",
                element: <TalentTeam/>
            }, {
                path: "teamnew",
                element: <TalentTeamNew />
            },
            {
                path: "teamBuilder",
                element: <TeamBuilder />
            },
            {
                path: "innovationTeam",
                element: <InnovationTeam />
            },
            {
                path: "innovation",
                element: <Html/>
            }, {
                path: "call",
                element: <ListTable/>
            }, {
                path: "water",
                element: <Project/>
            }, {
                path: "tibetan",
                element: <ListTable/>
            }, {
                path: "support",
                element: <Project/>
            }, {
                path: "net",
                element: <Project/>
            }, {
                path: "rural",
                element: <Project/>
            }, {
                path: "connected",
                element: <Project/>
            }, {
                path: "academic",
                element: <Html/>
            }, {
                path: "details",
                element: <Details/>
            }, {
                path: "set",
                element: <ListTable/>
            },{
                path: "exam",
                element: <Html/>
            },{
                path: "top20",
                element: <ListTable/>
            },{
                path: "jobRequirement",
                element: <ListTable/>
            },{
                path: "headquartersStudyAndImplementation",
                element: <ListTable/>
            },{
                path: "learningReference",
                element: <ListTable/>
            },{
                //党纪学习教育-上级部署要求
                path: "partyDisciplineLearning",
                element: <ListTable/>
            },{
                //党纪学习教育-院党委落实
                path: "partyCommitteeImplementation",
                element: <ListTable/>
            },{
                //党纪学习教育-基层党组织落实
                path: "grassrootsImplementation",
                element: <ListTable/>
            },{
                //党纪学习教育-学习参考
                path: "partyLearningReference",
                element: <ListTable/>
            },{
                //深入贯彻中央八项规定精神学习教育-上级部署要求
                path: "tcepOfSpiritualLearning",
                element: <ListTable/>
            },{
                //深入贯彻中央八项规定精神学习教育-院党委落实
                path: "tcepImplementationByThePartyCommitteeOfTheHospital",
                element: <ListTable/>
            },{//深入贯彻中央八项规定精神学习教育-基层党组织落实
                path: "tcepGrassRootsPartyOrganizationsImplement",
                element: <ListTable/>
            },{//深入贯彻中央八项规定精神学习教育-学习参考
                path: "theCentralEightProvisionsLearningReference",
                element: <ListTable/>
            },{
                path: "education",
                element: <ListTable/>
            },{
                path: "organizationRequireMent",
                element: <ListTable/>
            },{
                path: "organizationAndImplementation",
                element: <ListTable/>
            },{
                path: "primaryOrganization",
                element: <ListTable/>
            },{
                path: "learningReference2",
                element: <ListTable/>
            },{
                path: "fileSpecification",
                element: <ListTable/>
            },{
                path: "standards",
                element: <ListTable/>
            },{
                path: "quality",
                element: <ListTable/>
            },{
                path: "set",
                element: <ListTable/>
            },{
                path: "globalSearch",
                element: <GlobalSearch/>
            }, {
                path: "diversion",
                element: <ListTable/>
            }, {
                path: "assistance",
                element: <ListTable/>
            }, {
                path: "village",
                element: <ListTable/>
            }, {
                path: "revival",
                element: <ListTable/>
            }, {
                path: "production",
                element: <ListTable/>
            }, {
                path: "examination",
                element: <ListTable/>
            }
            , {
                path: "specialTopicColumn",
                element: <ListTable/>
            }
            , {
                // 政策方法
                path: "column_function",
                element: <ListTable/>
            }
            , {
                // 标准编制
                path: "standard_formulation",
                element: <ListTable/>
            }
            , {
                // 政策方法 quality
                path: "quality_function",
                element: <ListTable/>
            }
            , {
                // 监督动态
                path: "supervision_dynamics",
                element: <ListTable/>
            }
            , {
                // 水网建设
                path: "waterNetWorkBuild",
                element: <ListTable/>
            }, {
                // 联系我们
                path: "contactUsPage",
                element: <ContactUsPage/>
            }, {
                // 二十大专栏
                path: "twentyCongress",
                element: <ListTable/>
            }, {
                // 党纪学习教育
                path: "dutyEducation",
                element: <ListTable/>
            }, {
                // 深入贯彻中央八项规定精神学习教育
                path: "eightRules",
                element: <ListTable/>
            }, {
                // 主题教育专栏
                path: "themeEducation",
                element: <ListTable/>
            }
        ]
    }, {
        path: "/",
        element: <Navigate to={"/home"}/>
    }
]
